import { createApp } from 'vue'
import App from './App.vue'
import {setupAntd} from './plugin/antd'
import {setNprogress} from './plugin/nprogress'
import router from './router';
import {setupRequest} from './plugin/setupRequest'

if(process.env.NODE_ENV==="development"){
    require('./service/mock/mock.js')
}

const app = createApp(App)
setupRequest(app);
setNprogress(router)
app.use(router)
setupAntd(app)
app.mount('#app')
